import { IDashBoardtype } from './main/analysis/types'
import { Ilogintype } from './login/types'
import { ISystemState } from './main/system/types'

// 明确指定类型
export interface IRootState {
  name: string
  age: number
  allDepartment: any[]
  allRole: any[]
  allMenu: any[]
}

export interface IRootAndModule {
  login: Ilogintype
  system: ISystemState
  dashboard: IDashBoardtype
}

export type IStoreType = IRootState & IRootAndModule
